package com.eian.boot.module.system.post.model.entity;

import com.eian.boot.mybatis.core.model.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 系统岗位表 实体类
 *
 * @author alex.meng
 * @since 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "t_sys_post")
public class SysPostEntity extends BaseEntity {

    /**
     * 岗位编码（唯一标识）
     */
    @Column(value = "post_code")
    private String postCode;

    /**
     * 岗位名称
     */
    @Column(value = "post_name")
    private String postName;

    /**
     * 显示排序
     */
    @Column(value = "sort_order")
    private Integer sortOrder;

    /**
     * 岗位状态：0-停用，1-正常
     */
    @Column(value = "status")
    private Integer status;

    /**
     * 备注
     */
    @Column(value = "remark")
    private String remark;
}

